﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HYBYSoft.Company.Models.QuestionMessage>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Create
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <script src="<%: Url.Content("~/Scripts/jquery.validate.min.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") %>"
        type="text/javascript"></script>
    <div style="height: 350px;">
        <% using (Html.BeginForm())
           { %>
        <%: Html.ValidationSummary(true) %>
        <div style="float: left;">
            留言：
        </div>
        <div style="float: left; height: 280px; width: 1024px;">
            <%: Html.TextAreaFor(model => model.Titles,new{style = "width:945px; height:250px;" }) %>
            <%: Html.ValidationMessageFor(model => model.Titles) %>
        </div>
        <p id="button" style=" float:right;">
            <input type="submit" value="提交" />
        </p>
        <% } %>
    </div>
</asp:Content>
